<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
    <title>借阅管理</title>
    <link rel="stylesheet" href="../css/font-awesome.min.css">
    <link rel="stylesheet" href="../bootstrap-3.3.4/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/common.css">
    <style type="text/css">
       body{
            background: rgba(0,0,0,0);
            color: #fff;
        }
        .content-page2{
            position: absolute;
            left: 40%;
            margin-left: -125px;
       }
       .content-page2 .btn-groups button{
            width: 100px;
           
       }
       .btn-groups{
         margin-left: 45px;
       }
       th{
           background-color: #286090;
           border: none;
           color: white;
       }

        td{


            vertical-align: middle;


        }
    </style>
    
</head>
<body>
<div class="tab-content">
    <div class="col-md-12 tab-pane active" id="borrow1">
        <h2 class="text-center">档案列表</h2>
        <br>
        <form class="form-group">
            <table class="table">
                <tr>
                    <th>档案编号</th>
                    <th>提交人</th>
                    <th>概述</th>
                    <th>归属部门</th>
                    <th>归属类型</th>
                    <th>申请人</th>
                    <th>预定时间</th>
                    <th>结束时间</th>
                    <th>批准</th>
                    <th>拒绝</th>

                </tr>
                <s:iterator value="amArchivesRequestsArrayList" >
                    <tr>
                        <td  style="vertical-align:middle"><s:property value="archivesRequestsArchiveId.getArchivesId()" /></td>
                        <td  style="vertical-align:middle"><s:property value="archivesRequestsArchiveId.getArchivesSummittedUserId().getAccountNickname()" /></td>
                        <td style="vertical-align:middle"><s:property value="archivesRequestsArchiveId.getArchivesAbstract()" /></td>
                        <td style="vertical-align:middle"><s:property value="archivesRequestsArchiveId.getArchivesDepartmentId().getDepartmentName()" /></td>
                        <td style="vertical-align:middle"><s:property value="archivesRequestsArchiveId.getArchivesTypeId().getFileTypeName()" /></td>
                        <td style="vertical-align:middle"><s:property value="archivesRequestsArchiveId.getArchivesRequestsUserId().getAccountNickname()" /></td>
                        <td style="vertical-align:middle"><s:property value="startTimeString()" /></td>
                        <td style="vertical-align:middle"><s:property value="endTimeString()" /></td>


                        <td >    <button type="submit" class="btn btn-default" onclick="window.location.href('${pageContext.request.contextPath }/pagemodifyget?amArchivesRequestsId=<s:property value="getArchivesRequestsId()"/>&isAgressOrDenied=1&approvalerId=<s:property value="approvalerId"/>')">通过</button></td>
                        <td >         <button type="submit" class="btn btn-default" onclick="window.location.href('${pageContext.request.contextPath }/pagemodifyget?amArchivesRequestsId=<s:property value="getArchivesRequestsId()"/>&isAgressOrDenied=0&approvalerId=<s:property value="approvalerId"/>')">驳回</button></td>

                    </tr>
                </s:iterator>

            </table>
            <div class="button-group pull-right">
                <button class="btn btn-default">上一页</button>
                <span>1/10</span>
                <button class="btn btn-default">下一页</button>

            </div>
        </form>
    </div>

</div>
    <script src="../js/jquery-1.11.3.js"></script>
    <script src="../bootstrap-3.3.4\dist\js\bootstrap.min.js"></script> 
</body>
</html>